MapReport

class MapReport : GeneratedMessage, MQTTProtos.MapReportOrBuilder

Information about a node intended to be reported unencrypted to a map using MQTT.
Protobuf type meshtastic.MapReport

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , MQTTProtos.MapReportOrBuilder

Information about a node intended to be reported unencrypted to a map using MQTT.
Protobuf type meshtastic.MapReport

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun getAltitude(): Int

Altitude in meters above MSL
int32 altitude = 11;
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard

Device firmware version string
string firmware_version = 5;
Link copied to clipboard
open fun getFirmwareVersionBytes(): ByteString

Device firmware version string
string firmware_version = 5;
Link copied to clipboard

Whether the node has a channel with default PSK and name (LongFast, MediumSlow, etc...)
and it uses the default frequency slot given the region and modem preset.
bool has_default_channel = 8;
Link copied to clipboard

User has opted in to share their location (map report) with the mqtt server
Controlled by map_report.should_report_location
bool has_opted_report_location = 14;
Link copied to clipboard

Hardware model of the node, i.e. T-Beam, Heltec V3, etc...
.meshtastic.HardwareModel hw_model = 4;
Link copied to clipboard
open fun getHwModelValue(): Int

Hardware model of the node, i.e. T-Beam, Heltec V3, etc...
.meshtastic.HardwareModel hw_model = 4;
Link copied to clipboard
open fun getLatitudeI(): Int

Latitude: multiply by 1e-7 to get degrees in floating point
sfixed32 latitude_i = 9;
Link copied to clipboard
open fun getLongitudeI(): Int

Longitude: multiply by 1e-7 to get degrees in floating point
sfixed32 longitude_i = 10;
Link copied to clipboard
open fun getLongName(): String

A full name for this user, i.e. "Kevin Hester"
string long_name = 1;
Link copied to clipboard
open fun getLongNameBytes(): ByteString

A full name for this user, i.e. "Kevin Hester"
string long_name = 1;
Link copied to clipboard

Modem preset used by the radio (LongFast, MediumSlow, etc...)
.meshtastic.Config.LoRaConfig.ModemPreset modem_preset = 7;
Link copied to clipboard

Modem preset used by the radio (LongFast, MediumSlow, etc...)
.meshtastic.Config.LoRaConfig.ModemPreset modem_preset = 7;
Link copied to clipboard

Number of online nodes (heard in the last 2 hours) this node has in its list that were received locally (not via MQTT)
uint32 num_online_local_nodes = 13;
Link copied to clipboard
Link copied to clipboard

Indicates the bits of precision for latitude and longitude set by the sending node
uint32 position_precision = 12;
Link copied to clipboard

The region code for the radio (US, CN, EU433, etc...)
.meshtastic.Config.LoRaConfig.RegionCode region = 6;
Link copied to clipboard
open fun getRegionValue(): Int

The region code for the radio (US, CN, EU433, etc...)
.meshtastic.Config.LoRaConfig.RegionCode region = 6;
Link copied to clipboard

Role of the node that applies specific settings for a particular use-case
.meshtastic.Config.DeviceConfig.Role role = 3;
Link copied to clipboard
open fun getRoleValue(): Int

Role of the node that applies specific settings for a particular use-case
.meshtastic.Config.DeviceConfig.Role role = 3;
Link copied to clipboard
Link copied to clipboard
open fun getShortName(): String

A VERY short name, ideally two characters.
Suitable for a tiny OLED screen
string short_name = 2;
Link copied to clipboard
open fun getShortNameBytes(): ByteString

A VERY short name, ideally two characters.
Suitable for a tiny OLED screen
string short_name = 2;
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MQTTProtos.MapReport
Link copied to clipboard
open fun parseFrom(data: ByteString): MQTTProtos.MapReport
open fun parseFrom(input: CodedInputStream): MQTTProtos.MapReport
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): MQTTProtos.MapReport
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): MQTTProtos.MapReport
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MQTTProtos.MapReport
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MQTTProtos.MapReport
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): MQTTProtos.MapReport
Link copied to clipboard
open fun parser(): Parser<MQTTProtos.MapReport>
Link copied to clipboard
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)